#pragma once
#include <ctime>
#include <cstdlib>
#include "stdafx.h"

class CTimer
{
private:
	int             m_nFPS;
	float           m_fTimeStart;
	float           m_fTimeDelta;
	LARGE_INTEGER		m_tTickFrequency;

public:
	CTimer(void);
	~CTimer(void);
	void Reset();
	void Update();
	float GetTime();
	float GetDeltaTime() { return m_fTimeDelta; }
	int GetFPS() { return m_nFPS; }
};